blob: e6470e43aed69e34e0d1857943db8264f0a287bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#ifndef AST_FUNCTION_H
#define AST_FUNCTION_H
#include "function.h"
class AstFunction : public Function
{
public:
AstFunction( const Bu::String &sName );
virtual ~AstFunction();
virtual Bu::String getName() const { return sName; }
virtual Variable call( const VariableList &lParams );
void addParam( const Bu::String &sName );
void setAst( class AstBranch *pAst );
private:
Bu::String sName;
Bu::StringList lParam;
class AstBranch *pAst;
};
#endif
|